../ref/packing.c